package com.yehuishou.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.yehuishou.dao.BrandDao;
import com.yehuishou.pojo.Brand;
import com.yehuishou.service.BrandService;

@Service
public class BrandServiceImpl implements BrandService {

	@Autowired
	private BrandDao brandDao;
	
	@Override
	public List<Brand> findBycid(Integer cid) {
		return brandDao.findBycid(cid);
	}

	@Override
	public List<Brand> getBycidAll(Integer cid) {
		return brandDao.getBycidAll(cid);
	}

}
